package de.jonasblatt.networkapi.rpi.network.commands.server;

import de.jonasblatt.networkapi.rpi.network.commands.ServerCommand;
import de.jonasblatt.networkapi.rpi.networkapi.rpi.client.Client;

public class SCSayHelloBack implements ServerCommand {

	private int counts;

	public SCSayHelloBack(int counts) {
		this.counts = counts;
	}

	@Override
	public void execute(Client client) {
		System.out.println("Raspberry Pi say: 'Hello' for " + this.counts
				+ " times.");
	}

}
